<template>

  <div class="market-head">
    <div class="left"><c-icon type="doc" class="icon" />{{ data.name }}</div>
    <div class="right">
      <a-button @click="handleCancel">返回</a-button>
    </div>
  </div>

</template>

<script>
import { mapState } from "vuex"


export default {
  components: {

  },
  props: {
    data: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {

    }
  },
  computed: {
    ...mapState('lowCode', {
      previewData: state => state.previewData
    })
  },
  created(){

  },
  methods: {
    handleCancel() {
      history.go(-1)
    }

  },

}
</script>

<style lang="less" scoped>
@import url("./index.less");
</style>
